<template>
  <div id="app">

    <Footer v-if="$route.path == '/' || $route.path.match('/home') || $route.path == '/video' || $route.path == '/MiniVideo'"></Footer>
    <router-view/>
  </div>
</template>

<script>
//引入Footer的组件
import Footer from "./components/Footer.vue";
export default {
  name:"App",
  components:{
    Footer,
  }
}
</script>

<style>
* {
  padding: 0;
  margin: 0;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}

</style>
